notebook: Fix compilation warnings - missing cast
authorBenjamin Otte <otte@redhat.com>
Tue, 28 Sep 2010 16:24:34 +0000 (18:24 +0200)
committerBenjamin Otte <otte@redhat.com>
Tue, 28 Sep 2010 16:24:34 +0000 (18:24 +0200)
gtk/gtknotebook.c

index c5b880c0f16cc7062d72d99f56c6918a5bbdadd1..e510b4ededecfb49b27b76bb752bf5079500083a 100644 (file)
@@ -4529,7 +4529,7 @@ gtk_notebook_real_remove (GtkNotebook *notebook,
   GtkWidget *tab_label;
   gboolean destroying;
 
-  destroying = gtk_widget_in_destruction (notebook);
+  destroying = gtk_widget_in_destruction (GTK_WIDGET (notebook));
 
   next_list = gtk_notebook_search_page (notebook, list, STEP_NEXT, TRUE);
   if (!next_list)